﻿using System;
using OA.DBUtility;

namespace OA.Model
{
	/// <summary>
	/// Dictionary:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
    [MappingTable("Dictionary")]
	public partial class DictionaryInfo
	{
		public DictionaryInfo()
		{}
		#region Model
		private int _id;
		private int _typeid;
		private string _itemkey;
		private string _itemvalue;
		private string _description;
		private int? _parentid;
		private int? _orderid;
		/// <summary>
		/// 
		/// </summary>
        [DataField("Id")]
        [PrimaryKey(PKBuildType.AutoIncrease)]
		public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("TypeId")]
		public int TypeId
		{
			set{ _typeid=value;}
			get{return _typeid;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("ItemKey")]
		public string ItemKey
		{
			set{ _itemkey=value;}
			get{return _itemkey;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("ItemValue")]
		public string ItemValue
		{
			set{ _itemvalue=value;}
			get{return _itemvalue;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("Description")]
		public string Description
		{
			set{ _description=value;}
			get{return _description;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("ParentId")]
		public int? ParentId
		{
			set{ _parentid=value;}
			get{return _parentid;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("OrderID")]
		public int? OrderId
		{
			set{ _orderid=value;}
			get{return _orderid;}
		}
		#endregion Model

	}
}

